package com.ciwong.epaper.modules.pad.homeworkwidget.common;

public class AppWidgetConstants {

    public static final String serviceName = "com.ciwong.epaper.modules.pad.homeworkwidget.widget.HomeworkwidgetmService";
    public static final String WIDGET_HOMEWORK_ITEM_DATA = "WIDGET_HOMEWORK_ITEM_DATA";
    public static final String JUMP_2_ACTIVITY_FLAG = "jump2activityflag";
    public static final int JUMP_2_ACTIVITY_FLAG_HOMEWORK = 1;//跳转我的页面
    public static final int JUMP_2_ACTIVITY_FLAG_BOOK_DESK = 2;//跳转书桌页面
    public static final int JUMP_2_ACTIVITY_FLAG_ME_FRAGEENT = 4;//跳转我的页面

    public static final String FLAG_WIDGET_BIND_PHONE ="FLAG_WIDGET_BIND_PHONE";//跳转我的页面


    //HomeworkReceiver 广播flag
    public static String ACTION_NET_CHANGET_CONNECT = "android.net.conn.CONNECTIVITY_CHANGE";//已经登录成功
    public static String ACTION_HAS_LOGIN_SUCESS = "ACTION_HAS_LOGIN_SUCESS";//已经登录成功
    public static String ACTION_HAS_JOINED_CLASS = "ACTION_HAS_JOINED_CLASS";//已经加入过班级
    public static String ACTION_LOAD_LOCAL_HOMEWORK_SUCCESS = "ACTION_LOAD_LOCAL_HOMEWORK_SUCCESS";//成功加载本地数据
    public static String ACTION_LOAD_NET_HOMEWORK_SUCCESS = "ACTION_LOAD_NET_HOMEWORK_SUCCESS";//加载网络数据成功
    public static String ACTION_LOAD_NET_HOMEWORK_FAILED = "ACTION_LOAD_NET_HOMEWORK_FAILED";//加载网络数据失败


    //HomeworkWidgetProvider 广播flag
    public static String ACTION_WIDGET_LOGIN = "WIDGETHOMEWORK_WIDGET_LOGIN";//登录
    public static String ACTION_WIDGET_JOIN_CLASS = "WIDGETHOMEWORK_WIDGET_JOIN_CLASS";//加入班级
    public static String ACTION_REFRESH_CLICK = "WIDGETHOMEWORK_REFRESH_CLICK";//点击刷新
    public static String ACTION_REFRESH_ALL_CLICK = "WIDGETHOMEWORK_REFRESH_ALL_CLICK";//点击刷新
    public static String ACTION_REFRESH_AUTO = "WIDGETHOMEWORK_REFRESH_AUTO";//自动刷新
    public static String ACTION_JUMP_LISTITEM = "WIDGETHOMEWORK_JUMP_LISTITEM";//点击跳转相应 作业条目
    public static String ACTION_JUMP_MEFRAGMENT = "WIDGETHOMEWORK_JUMP_MEFRAGMENT";//点击跳转我的页面


}
